package com.gzk.oeno.ihm.cave;

import com.gzk.oeno.business.cave.Cave;
import com.gzk.oeno.tech.ui.IdInternalFrame;
import com.gzk.utils.ihm.UIUtils;

public class SingleCaveIFrame extends IdInternalFrame{

	private final Cave cave;
	
	public SingleCaveIFrame(Cave cave){
		super(cave.getFriendlyName(), true, true, true, true);
		this.cave = cave;
		
		setFrameIcon(UIUtils.loadSilentIcon("icons/cave_16.png"));
	}
	
	
	@Override
	public String getId() {
		return "Cave@"+cave.getId();
	}

}
